<?php 
$user = "admin";
$pass = "105085p2";
$serv = "localhost";
$db = "rpgcom";
mysql_connect("$serv","$user","$pass") or die(mysql_error());
mysql_select_db("$db") or die(mysql_error());
?>